package com.xzg.role.entity;

import com.xzg.permission.entity.Permission;

import java.util.List;

public class Role {
    private Long rId;

    private String role;

    private String roleDescription;


    private List<Permission> PermissionList;

    public List<Permission> getPermissionList() {
        return PermissionList;
    }

    public void setPermissionList(List<Permission> permissionList) {
        PermissionList = permissionList;
    }

    public Long getrId() {
        return rId;
    }

    public void setrId(Long rId) {
        this.rId = rId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }

    public String getRoleDescription() {
        return roleDescription;
    }

    public void setRoleDescription(String roleDescription) {
        this.roleDescription = roleDescription == null ? null : roleDescription.trim();
    }
}